<!DOCTYPE html>
<html>
    <head>
        <title>Issue 4837: Editing a node value doesn't update inside HTML panel</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <link href="../../_common/testcase.css" type="text/css" rel="stylesheet"/>
        <style type="text/css">
        section#output {
            display: block;
        }
        </style>
        <script type="text/javascript">
        function sayHello()
        {
            var element = document.getElementById("element");
            element.textContent = "Hello Firebug user!";
        }
        </script>
    </head>
    <body>
        <header>
            <h1><a href="http://code.google.com/p/fbug/issues/detail?id=4837">Issue 4837</a>: Editing a node value doesn't update inside HTML panel</h1>
        </header>
        <div>
            <section id="content">
                <button id="sayHello" onclick="sayHello()">Say hello</button>
                <section id="output">
                    <div id="element">Please say hello.</div>
                </section>
            </section>
            <section id="description">
                <h3>Steps to reproduce</h3>
                <ol>
                    <li>Open Firebug</li>
                    <li>Switch to the <em>HTML</em> panel</li>
                    <li>Inspect the node above containing <code>Please say hello.</code> (<code>#element</code>)</li>
                    <li>Click the button <em>Say hello</em></li>
                </ol>
                <h3>Expected result</h3>
                <ul>
                    <li>The <em>HTML</em> panel should display <code>Hello Firebug user!</code> as content of the <code>#element</code> element.</li>
                </ul>
            </section>
            <footer>Sebastian Zartner, sebastianzartner@gmail.com</footer>
        </div>
    </body>
</html>
